export default {
    data() {
        return {
            actionStyle: {
                color: '#3996FD',
                'margin-right': '10px'
            },
            keyword: '',
            loading: 'nomore',
            pageNo: 1,
            pageSize: 10,
            totalCount: 0,
            totalPage: 0,
            dataList: [

            ]
        }
    },
    methods: {
        onScroll(e) {
            if (this.pageNo >= this.totalPage) {
                this.loading = 'nomore'
                return
            } else {
                this.loading = 'loading'
            }
            this.pageNo++
            this.getList()
        },
        getList() {},
        handleSearch() {
            this.pageNo = 1
            this.getList()
        },
        handleClearSearch() {}
    }
}
